Repository navigation
fix(deps): require pyjwt>=2.15.0 - #32
Open
sqrt-negativeone wants to merge 1 commit into
Open
sqrt-negativeone wants to merge 1 commit into
sqrt-negativeone wants to merge 1 commit into
Conversation
ojin-client allowed pyjwt>=2.13.0, so installing the SDK could still resolve a PyJWT that lets public keys (altered-whitespace PEM, DER, JWK containers) and empty keys act as HMAC secrets, lets PyJWKClient follow redirects when fetching JWKS, and has several denial-of-service bugs in token parsing. The floor moves to 2.15.0 and the lock resolves 2.15.1; the version is bumped to 0.12.2 so the release pipeline publishes the fix to PyPI. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
ojin-clientdeclaredpyjwt>=2.13.0,<3, so installing the SDK could still resolve a PyJWT with known holes: public keys (PEM with altered whitespace, DER, JWK containers) and empty keys accepted as HMAC secrets,PyJWKClientfollowing redirects when fetching JWKS, and several denial-of-service bugs in token parsing. That's one critical and several high advisories, all fixed by 2.15.0.pyproject.toml: floor raised topyjwt>=2.15.0,<3; version bumped to 0.12.2 so the release pipeline publishes it.uv.lock: resolves pyjwt 2.15.1.CHANGELOG.md: 0.12.2 Security entry.No SDK code changed. This is the same fix as journee-live/ojin#2303, which closed these advisories in the monorepo copies.
Checks (local, same steps as
ci-verify)ruff format --check src tests,ruff check src tests: cleanpytest tests --ignore=tests/integration: 290 passeduv build: sdist and wheel build as 0.12.2Merging publishes 0.12.2 to PyPI.
🤖 Generated with Claude Code